import {
    DemoList,
    DemoDetail
} from '../mutation-types';

const state = {
    demoList: {},
    demoDetail: {}
};

const mutations = {
    [DemoList] (state, data) {
        state.demoList = data;
    },
    [DemoDetail] (state, data) {
        state.demoDetail = data;
    }
};

export default {
    state,
    mutations
}